import _http from '@/utils/http'

export default {
    shopQryList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/qry/list',
            apiName: '商户列表',
        }, params, loading, headers)
    },
    shopDetail(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/detail',
            apiName: '商户详情',
        }, params, loading, headers)
    },
    shopSupplier(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/supplier/list',
            apiName: '供应商列表',
        }, params, loading, headers)
    },
    shopConsumer(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/consumer/list',
            apiName: '分销商列表',
        }, params, loading, headers)
    },
    shopChannel(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/channel/list',
            apiName: '渠道接口列表',
        }, params, loading, headers)
    },
    shopProduct(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/product/list',
            apiName: '产品列表',
        }, params, loading, headers)
    },
    shopGoods(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/goods/list',
            apiName: '商品列表',
        }, params, loading, headers)
    },
    orderStatics(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/order/statics',
            apiName: '订单信息',
        }, params, loading, headers)
    },
    accountStatics(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/account/statics',
            apiName: '账户信息',
        }, params, loading, headers)
    },
    discountModify(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop/discount/modify',
            apiName: '折扣修改',
        }, params, loading, headers)
    },
}
